package com.yuanxiao.common.api.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: luozongsheng
 * @mail: lzs1115@foxmail.com
 * @date: 2021-10-01 13:13
 **/
@Data
public class SysDeptEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long deptId;

    private String deptIds;

    private String parentName;

    private String code;

    private String name;

    private String des;

    private String contacts;

    private String phone;

    private String address;

    private String icon;

    private Integer sort;

    private Integer status;

    private Integer level;

    private Boolean open;

    private Long createUserId;

    private Date createTime;

    // 租户ID
    private Long tenantId;

    // 租户名称
    private String tenantName;


    //部门角色类型(root:平台，branch_office：分公司，service_provider：服务商，agent：代理商，franchisee：加盟商)
    private String deptRole;

    private SysDeptExtendInfoEntity extendInfo;
}
